﻿using HamcoWcs.Models.DeviceMsgs.SrmMsgs;

namespace HamcoWcs.Models.DeviceMsgs
{
    public class ShelfTeachInfo
    {
        public SrmTeachInfo C1 { get; set; }
        public SrmTeachInfo C2 { get; set; }
    }

    public class SrmTeachInfo
    {
        public SrmTeachInfo()
        {

        }

        public SrmTeachInfo(SrmTeachMsg msg)
        {
            Walk = msg.WalkPosition;
            LiftH = msg.LiftHighPosition;
            LiftL = msg.LiftLowPosition;
            Fork = msg.ForkPosition;
        }
        public float Walk { get; set; }
        public float LiftH { get; set; }
        public float LiftL { get; set; }
        public float Fork { get; set; }
    }
}
